Skip to content

Instantly share code, notes, and snippets.

@kaushikgopal
kaushikgopal / alt-check-box.css
Created February 4, 2026 17:33
Obsidian alternate checkbox icons CSS snippet
/* ****************************
Alternate checkbox display
courtesy: https://forum.obsidian.md/t/alternative-checkboxes-icon-bullets-copy-and-paste/35962/15
*/
/* Checkbox important ! */
input[data-task="!"]:checked::after,
li[data-task="!"]>input:checked::after,
li[data-task="!"]>p>input:checked::after {
-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 128 512'%3E%3C!--! Font Awesome Pro 6.2.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc. --%3E%3Cpath d='M96 64c0-17.7-14.3-32-32-32S32 46.3 32 64V320c0 17.7 14.3 32 32 32s32-14.3 32-32V64zM64 480c22.1 0 40-17.9 40-40s-17.9-40-40-40s-40 17.9-40 40s17.9 40 40 40z'/%3E%3C/svg%3E");
@Pythonation
Pythonation / prompt.md
Last active May 8, 2026 12:19
3 PROMPTS OF CODING AGENTS

1. برومبت التخطيط المطوّر (The Planning Protocol)

[الدور والمسؤولية] أنت الآن تعمل بصفة Staff Software Engineer ومدير تقني Tech Lead. مهمتك التخطيط المعماري الصارم للمشروع التالي: [أدخل وصف المشروع هنا]

[قواعد ما قبل التتخطيط] قبل البدء بالبروتوكولات، يجب أن تطبق مبدأ "Think Before Coding":

@ikbelkirasan
ikbelkirasan / writing-a-state-of-the-art-section.md
Created November 1, 2018 19:28
Writing the "Related Work" Section of a Paper/thesis

Writing the "Related Work" Section of a Paper/thesis

By: Chamin Morikawa (https://www.linkedin.com/pulse/writing-related-work-section-paperthesis-chamin-morikawa/)

For most students, writing about what they did on their own is not hard. But writing about others' work - which is what you have to do in the "State of the Art" or "Related Work" section - is quite hard for them. Here are a few guidelines to make this task a bit easier.

The Basics

Let's lay down our assumptions before continuing. I assume that you want to write a "Related Work" section for a research paper or a thesis that describes your approach to solve some problem. Let's also assume that there are other publications that attempt to solve the same problem, but the solutions in them are not perfect. Finally, let's assume that your approach has some difference when compared to those by others, and some improvement (faster, more accurate, easier to afford, etc.).

@lenpifansu7j
lenpifansu7j / Stonex Cube Manager License Key
Created November 11, 2024 20:53
Stonex Cube Manager Crack
Stonex Cube Manager Keygen
@4abhinavjain
4abhinavjain / reinstall_VPS_from_inside.txt
Last active May 8, 2026 12:10 — forked from ClashTheBunny/reinstall_VPS_from_inside.sh
DIY install debian on Oracle Cloud Infrastructure ( Free Tier ) - ARM64
# should works on any cloud-init enabled hypervisor (openstack.. )
# start from a normal ubuntu 20.04 install as minimal was not available for ARM64
# Since ARM64 machines has higher RAM, Shrinking is desired but not necessary. Instead we will increase tmpfs to 1700MB
# Getting root (if sudo -i doesn't work then set a root password beforehand using 'sudo passwd root'
sudo -i
# make sure we are on the highest kernel, so we can delete all the others ...
@jferreiraimpelai
jferreiraimpelai / second-brain-rag-strategy-2026-03-06.md
Created March 11, 2026 17:15
Second Brain for Claude Code — RAG Architecture & Memory System Design

Second Brain RAG Strategy for Claude Code

Date: 2026-03-06 Status: Draft / Design Phase


1. Introduction

This document outlines a strategy for building a RAG-based "Second Brain" memory system for Claude Code. The goal is to replace the current flat-file memory (MEMORY.md) with an intelligent, self-managing memory layer that mimics human cognitive patterns.

@fufexan
fufexan / macos_accel.py
Created September 12, 2024 20:18
macOS-like acceleration curve for libinput
#!/usr/bin/env python3
# macOS-like pointer acceleration for libinput
# Author: fufexan <mihai@fufexan.net>
# Uncomment matplotlib and the plot_curve definition and call to visualize the curve
# import matplotlib.pyplot as plt
import sys
import os
/*
* Copyright 2026 Kyriakos Georgiopoulos
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software